package br.com.grimoire.calc;

public class CalcModelTest {
	
	public static void main(String[] args){
		CalcModel calc = new CalcModelImpl();
		calc.init();
		System.out.println("display: " + calc.process(2d, CalcModel.ADD));
		System.out.println("display: " + calc.process(3d, CalcModel.SUBTRACT));
		System.out.println("display: " + calc.process(4d, CalcModel.ADD));
		System.out.println("display: " + calc.process(2d, CalcModel.MULTIPLY));
		System.out.println("display: " + calc.process(3d, CalcModel.ADD));
		System.out.println("display: " + calc.process(1d, CalcModel.DIVIDE));
		System.out.println("display: " + calc.process(5d, CalcModel.ADD));
		
	}
	
}
